package com.woniu.order.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 吴彦祖
 * @since 2024年05月23日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("order_comment")
@AllArgsConstructor
@NoArgsConstructor
public class OrderComment implements Serializable {

    private static final long serialVersionUID = 1L;

    /*
     * 订单评价表
     */
    @ApiModelProperty(name = "",value = "")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /*
     * 订单号
     */
    @ApiModelProperty(name = "orderNum",value = "订单号")
    @TableField("order_num")
    private String orderNum;

    /*
     * 订单状态
     */
    @ApiModelProperty(name = "orderState",value = "订单状态")
    @TableField("order_state")
    private Long orderState;

    /*
     * 用户评论
     */
    @ApiModelProperty(name = "comment",value = "用户评论")
    @TableField("comment")
    private String comment;

    /*
     * 站点回复
     */
    @ApiModelProperty(name = "reply",value = "站点回复")
    @TableField("reply")
    private String reply;

    /*
     * 用户打分
     */
    @ApiModelProperty(name = "star",value = "用户打分")
    @TableField("star")
    private Double star;


}
